package cn.edu.buu.news.entity;

import java.time.LocalDateTime;

public class LearningPath {
    private Long id;
    private String name;
    private String description;
    private String difficulty;
    private Integer days;
    private String tasks;
    private String thumbnailUrl;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private Long userId;
    private Integer sort;
    private Integer isRecommended;
    private String userNote;
    private LocalDateTime noteCreateTime;
    private LocalDateTime noteUpdateTime;

    @Override
    public String toString() {
        return "LearningPath{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", difficulty='" + difficulty + '\'' +
                ", days=" + days +
                ", tasks='" + tasks + '\'' +
                ", thumbnailUrl='" + thumbnailUrl + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", userId=" + userId +
                ", sort=" + sort +
                ", isRecommended=" + isRecommended +
                ", userNote='" + userNote + '\'' +
                ", noteCreateTime=" + noteCreateTime +
                ", noteUpdateTime=" + noteUpdateTime +
                '}';
    }

    // getter和setter
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }
    public String getDifficulty() { return difficulty; }
    public void setDifficulty(String difficulty) { this.difficulty = difficulty; }
    public Integer getDays() { return days; }
    public void setDays(Integer days) { this.days = days; }
    public String getTasks() { return tasks; }
    public void setTasks(String tasks) { this.tasks = tasks; }
    public String getThumbnailUrl() { return thumbnailUrl; }
    public void setThumbnailUrl(String thumbnailUrl) { this.thumbnailUrl = thumbnailUrl; }
    public LocalDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
    public LocalDateTime getUpdatedAt() { return updatedAt; }
    public void setUpdatedAt(LocalDateTime updatedAt) { this.updatedAt = updatedAt; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public Integer getSort() { return sort; }
    public void setSort(Integer sort) { this.sort = sort; }
    public Integer getIsRecommended() { return isRecommended; }
    public void setIsRecommended(Integer isRecommended) { this.isRecommended = isRecommended; }
    public String getUserNote() { return userNote; }
    public void setUserNote(String userNote) { this.userNote = userNote; }
    public LocalDateTime getNoteCreateTime() { return noteCreateTime; }
    public void setNoteCreateTime(LocalDateTime noteCreateTime) { this.noteCreateTime = noteCreateTime; }
    public LocalDateTime getNoteUpdateTime() { return noteUpdateTime; }
    public void setNoteUpdateTime(LocalDateTime noteUpdateTime) { this.noteUpdateTime = noteUpdateTime; }
}